// 文章分类的接口
import request from '@/utils/request'

export const getCateListAPI = () => request.get('/my/cate/list')
/**
 *
 * @param {cate_name,cate_alias} obj
 * @returns
 */
export const addCateAPI = (obj) => request.post('/my/cate/add', obj)

export const updateCateAPI = (obj) => request.put('/my/cate/info', obj)

export const deleteCateAPI = (id) => request.delete('/my/cate/del', { params: { id } })
